package com.mhc.suzuki.dal.mapper.ext;

import com.mhc.suzuki.dal.mapper.DealerInfoMapper;
import com.mhc.suzuki.dal.model.DealerInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for DealerInfo.
 */

@Mapper
@Repository
public interface DealerInfoExtMapper extends DealerInfoMapper {
    /**
     * 条件查询经销商列表
     * @param queryMap
     * @return
     */
   List<DealerInfoDO> getDealerInfoDOS(Map<String, Object> queryMap);

   List<DealerInfoDO> getAllDealerInfos(Map<String, Object> queryMap);

    /**
     * 条件查询
     * @param queryMap
     * @return
     */
   Integer getQueryCount(Map<String, Object> queryMap);

}